Function App on Linux Consumption Plan with Remote Build

您所在的位置:网站首页 besthomepageever for microsoft edge Function App on Linux Consumption Plan with Remote Build

Function App on Linux Consumption Plan with Remote Build

2023-01-30 22:12| 来源: 网络整理| 查看: 265

Function App on Linux Consumption Plan with Remote Build Code Sample 01/23/2023 Browse code

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

This sample Azure Resource Manager template deploys an Azure Function App on Linux Consumption plan and required resource including the app setting to deploy using zip package when remote build is needed (for example: to get Linux specific packages in python, node.js).

Deploy To Azure Deploy To Azure US Gov Visualize

OS

This template is for Azure Function app hosted on Linux Consumption plan only.

Comsumption Plan

The Azure Function app provisioned in this sample uses an Azure Functions Consumption plan.

Microsoft.Web/serverfarms: The Azure Functions Consumption plan (a.k.a. Dynamic plan) Azure Function App

The Function App uses the AzureWebJobsStorage app settings to connect to a Storage Account.

Microsoft.Web/sites: The function app instance. Deploy using .ZIP package with Remote Build

To enable the remote build processes with ZipDeploy extension, update the following to your application settings:

WEBSITE_RUN_FROM_PACKAGE=0 or Remove WEBSITE_RUN_FROM_PACKAGE app setting SCM_DO_BUILD_DURING_DEPLOYMENT=true

NOTE: ZipDeploy extension with the appSetting SCM_DO_BUILD_DURING_DEPLOYMENT=true is honored only if WEBSITE_RUN_FROM_PACKAGE=0or Remove WEBSITE_RUN_FROM_PACKAGE app setting.

Azure Storage account

The Storage account that the Function uses for operation and for file contents.

Microsoft.Storage/storageAccounts: Azure Functions requires a storage account for the function app instance. Application Insights

Application Insights is used to provide monitor the Azure Function.

Microsoft.Insights/components: The Application Insights instance used by the Azure Function for monitoring.

Tags: Microsoft.Storage/storageAccounts, microsoft.insights/components, Microsoft.Web/serverfarms, Microsoft.Web/sites, Microsoft.Web/sites/extensions



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3